package com.med.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.sql.Timestamp;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomerMessageDO {

  private String customerMessageId;
  private Integer customerSessionId;
  private Integer customerMessageSenderId;
  private Integer customerMessageSenderType;
  private Integer customerMessageReceiverId;
  private Integer customerMessageReceiverType;
  private String customerMessageContent;
  private String customerMessageType;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Timestamp customerMessageCreateTime;
  private String customerMessageImageUrl;
  private Integer pageNum;
  private Integer pageSize;
}
